package com.yichuang.security.quickstarts.ample.controller;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p> 鉴权调试接口 </p>
 *
 * @author tuonioooo
 * @site https://miliqkdoc.motopa.cn/
 * @date 2020/6/18 11:20
 */
@RestController
@RequiredArgsConstructor
@Slf4j
public class OAuth2Controller {

    @GetMapping("/login/{id}")
    public String login(@PathVariable String id) {
        return "login id : " + id;
    }

}
